package cn.tedu.onlinestore.seller.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class Seller {
    @ApiModelProperty(value = "店家id")
    private Long id;
    @ApiModelProperty(value = "店家账号")
    private String username;
    @ApiModelProperty(value = "店家密码")
    private String password;
    @ApiModelProperty(value = "店家地址")
    private String address;
    @ApiModelProperty(value = "店铺头像地址")
    private String avatarUrl;
    @ApiModelProperty(value = "店家名称")
    private String shopName;
    @ApiModelProperty(value = "用户状态")
    private String status;
    @ApiModelProperty(value = "用户权限")
    private String level;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
}
